package rs.fon.rapidminer.parameter;

import rs.fon.rapidminer.process.builder.ProcessBuilder;

import com.rapidminer.parameter.ParameterTypeFile;

/**
 * Parameter type that configures process file creation and loading
 * 
 * @author Nikola Nikolic
 */
public class ParameterTypeProcessFile extends ParameterTypeFile {

	private Class<? extends ProcessBuilder> processBuilder;

	public ParameterTypeProcessFile(String key, String description,
			String extension, boolean optional,
			Class<? extends ProcessBuilder> processBuilder) {
		super(key, description, extension, optional);
		this.processBuilder = processBuilder;

		// TODO Auto-generated constructor stub
	}

	public Class<? extends ProcessBuilder> getProcessBuilder() {
		return processBuilder;
	}

	public void setProcessBuilder(Class<? extends ProcessBuilder> processBuilder) {
		this.processBuilder = processBuilder;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

}
